'Declaration
<ExtensionAttribute()> Public Overloads Shared Function AddAspNetCoreDiagnostics( _ ByVal builder As ILoupeAgentBuilder, _ ByVal applicationUserFunc As Func(Of IPrincipal,Lazy(Of ApplicationUser),Boolean) _ ) As ILoupeAgentBuilder
[Extension()] public static ILoupeAgentBuilder AddAspNetCoreDiagnostics( ILoupeAgentBuilder builder, Func<IPrincipal,Lazy<ApplicationUser>,bool> applicationUserFunc )
Parameters
- builder
- The Loupe.Agent.Core.Services.ILoupeAgentBuilder instance.
- applicationUserFunc
- The function to use for application user mapping from an IPrincipal
Return Value
The Loupe.Agent.Core.Services.ILoupeAgentBuilder instance.